package cn.stylefeng.guns.modular.tool.mapper;

import cn.stylefeng.guns.modular.tool.entity.ToolExpressReconciliationYzx;
import cn.stylefeng.guns.modular.tool.model.params.ToolExpressReconciliationYzxParam;
import cn.stylefeng.guns.modular.tool.model.result.ToolExpressReconciliationYzxResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 邮政对账管理新 Mapper 接口
 * </p>
 *
 * @author zhucx
 * @since 2023-07-07
 */
public interface ToolExpressReconciliationYzxMapper extends BaseMapper<ToolExpressReconciliationYzx> {

    /**
     * 获取列表
     *
     * @author zhucx
     * @Date 2023-07-07
     */
    List<ToolExpressReconciliationYzxResult> customList(@Param("paramCondition") ToolExpressReconciliationYzxParam paramCondition);

    /**
     * 获取map列表
     *
     * @author zhucx
     * @Date 2023-07-07
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") ToolExpressReconciliationYzxParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author zhucx
     * @Date 2023-07-07
     */
    Page<ToolExpressReconciliationYzxResult> customPageList(@Param("page") Page page, @Param("paramCondition") ToolExpressReconciliationYzxParam paramCondition, @Param("condition") String condition, @Param("operateId")Long operateId);

    Page<ToolExpressReconciliationYzxResult> findPageBySpecZtxDz(@Param("page") Page page, @Param("paramCondition") ToolExpressReconciliationYzxParam paramCondition, @Param("condition") String condition);
    
    /**
     * 获取分页map列表
     *
     * @author zhucx
     * @Date 2023-07-07
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") ToolExpressReconciliationYzxParam paramCondition);

	boolean saveBatchList( @Param("list")List<ToolExpressReconciliationYzxParam> list);

	void deleteBySpec(@Param("paramCondition")ToolExpressReconciliationYzxParam param);

	List<ToolExpressReconciliationYzxResult> findListBySpec(@Param("paramCondition")ToolExpressReconciliationYzxParam param);

}
